package cl.yapal.inventory.dao;

import cl.yapal.inventory.core.InventoryException;
import cl.yapal.inventory.vo.Product;

/**
 * Created by IntelliJ IDEA.
 * User: viktor
 * Date: 17-06-2010
 * Time: 05:59:07 PM
 * To change this template use File | Settings | File Templates.
 */
public interface DatabaseAccess {

    public void addProduct(Product product) throws DaoException;

    public Product searchProduct(String productCode) throws DaoException;

    public void decreaseProduct(String productCode, int quantity) throws DaoException;

    public void increaseProduct(String productCode, int quantity) throws DaoException;
}
